package cn.itcast.java.oop;

/**
 * Author itcast
 * Date 2021/10/7 16:29
 * Desc TODO
 */
public class Person {
    private double height;
    private String name;
    private int age;

    public Person() {
    }

    public Person(double height, String name, int age) {
        this.height = height;
        this.name = name;
        this.age = age;
    }

    @Override
    public String toString() {
        return "Person{" +
                "height=" + height +
                ", name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
